using System;
using System.Collections.Generic;
using System.Text;

using usm.SolDev.DataBase.DataObjects;
using usm.SolDev.Common.Constants;

namespace usm.SolDev.Common
{
    public class WorksessionData
    {
        #region Instance creator
        private static WorksessionData instance = new WorksessionData ();
        #endregion

        #region Ctor's
        private WorksessionData () {}
        #endregion

        #region Private properties
        private UserInfoData userInfo = new UserInfoData();
        #endregion

        #region Public properties

        /// <summary>
        ///     Hold user related information
        /// </summary>
        public static UserInfoData UserInfo
        {
            get 
            {
                return instance.userInfo;
            }
            set 
            {
                instance.userInfo = value;
            }
        }
        #endregion
    }
}
